import Vue from "vue";
import "./plugins/axios";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import vuetify from "./plugins/vuetify";
// import "./plugins/clipboard";



Vue.config.productionTip = false;

Vue.prototype.$msg = {
  success: (message) => {
    store.dispatch("snackbar/openSnackbar", {msg: message, color: "success"})
  },
  info: (message) => {
    store.dispatch("snackbar/openSnackbar", {msg: message, color: "info"})
  },
  warn: (message) => {
    store.dispatch("snackbar/openSnackbar", {msg: message, color: "warning"})
  },
  error: (message) => {
    store.dispatch("snackbar/openSnackbar", {msg: message, color: "error"})
  },
}

const v = new Vue({
  router,
  store,
  vuetify,
  render: (h) => h(App),
}).$mount("#app");


